/*
 * 首页路由
 *
 * @Author:    1024创新实验室-主任：卓大
 * @Date:      2022-09-06 20:51:41
 * @Wechat:    zhuda1024
 * @Email:     lab1024@163.com
 * @Copyright  1024创新实验室 （ https://1024lab.net ），Since 2012
 */
import { HOME_PAGE_NAME } from '/@/constants/system/home-const';
import { MENU_TYPE_ENUM } from '/@/constants/system/menu-const';

export const homeRouters = [
  {
    path: '/home',
    name: HOME_PAGE_NAME,
    redirect: { path: "/" },
    meta: {
      title: '首页',
      menuType: MENU_TYPE_ENUM.MENU.value,
      icon: 'HomeOutlined',
      parentMenuList: [{ name: '_home', title: '首页' }],
    },
    component: () => import('/@/views/system/home/index.vue'),
  },
  {
    path: '/account',
    name: 'Account',
    component: () => import('/@/views/system/account/index.vue'),
    meta: {
      title: '个人中心',
      hideInMenu: false,
    },
  },
  {
    path: '/platform',
    name: "platform",
    meta: {
      title: '监管平台',
      menuType: MENU_TYPE_ENUM.MENU.value,
      icon: 'HomeOutlined',
      parentMenuList: [{ name: '_platform', title: '监管平台' }],
      hideInMenu: true,
    },
    component: () => import('/@/views/platform/index.vue'),
  },
  {
    path: '/monitor',
    name: "monitor",
    meta: {
      title: '监管中心',
      menuType: MENU_TYPE_ENUM.MENU.value,
      icon: 'HomeOutlined',
      parentMenuList: [{ name: '_monitor', title: '监管中心' }],
      hideInMenu: true,
      hideInTag: true
    },
    component: () => import('/@/views/monitor/index.vue'),
  },
]
